using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using PuzzleDulex.bamboo;

namespace PuzzleDeluxe.bamboo
{
    public class PreviewArea
    {
        private Texture2D allImage;
        private Rectangle squareArea;
        private string text = "Preview";

        public PreviewArea(Texture2D fullImage)
        {
            squareArea = new Rectangle(10, 55, 225, 225);
            this.allImage = fullImage;
        }

        public void Draw(SpriteBatch g) 
        {
            TextUtil.printString(g, 45, 5, text, 0, Color.Blue);
            g.Draw(allImage, squareArea, Color.White);

        }

    }
}
